<%@ page contentType="text/html; charset=euc-kr"%>
// list page

function list_goSearch() {
	var frm = document.frmSearch;
	frm.action = "/board.do?action=getList";
	frm.submit();
}

function list_changePage(page) {
	var frm = document.frmSearch;
	frm.action= "/board.do?action=getList";
	frm.curpage.value = page;
	frm.submit();
}

function list_goRead(idx) {
	var frm = document.frmSearch;
	frm.idx.value = idx;
	frm.action = "/board.do?action=getRead";
	frm.submit();
}

function list_goEduInfoRead(idx) {
	var frm = document.frmSearch;
	frm.idx.value = idx;
	frm.action = "/board.do?action=getEduInfoRead";
	frm.submit();
}

function list_goWrite() {
	var frm = document.frmSearch;
	frm.action = "/board.do?action=goWrite";
	frm.submit();
}

function list_init() {
	var frm = document.frmSearch;
	frm.search_type.value = "<%=RESULT.getString("search_type").equals("")? "1" : RESULT.getString("search_type")%>";
	frm.search_word.value = "<%=RESULT.getString("search_word")%>";
}